<template>
    <div class="download">
        <el-tabs v-model="activeName" @tab-click="handleClick">
            <el-tab-pane label="设备同步" name="first">
                <Register />
            </el-tab-pane>
            <el-tab-pane label="寄存器同步" name="second">
                <Synchronization />
            </el-tab-pane>
        </el-tabs>
    </div>
</template>
<script>
import Register from './download/register.vue'
import Synchronization from './download/synchronization.vue'
// import Disposition from './download/Disposition2.vue'
// import Check from './download/Check.vue'
export default {
    name: 'Download',
    data() {
        return {
            activeName: 'first',
            formInline: {
                user: '',
                region: '',
                date1: '',
                date2: '',
            },
        };
    },
    components: {Register,Synchronization},

    methods: {
        handleClick(tab, event) {
            console.log(tab, event);
        },
    }
};
</script>

